import { App } from 'vue'
import { formatUtcDate } from '@/utils/format'

export function registerProperties(app: App) {
  app.config.globalProperties.$filter = {
    formatTime(value: string) {
      return formatUtcDate(value)
    }
  }
}
